package util.handfactoryimp;

import information.Information;
import util.HandFactory;

public class HandFactoryImp implements HandFactory{

    @Override
    public Object createAction(Information information) {
        Object o=null;
        try {
            o = information.getClazz().newInstance();
        } catch (InstantiationException e) {
            e.printStackTrace();
        } catch (IllegalAccessException e) {
            e.printStackTrace();
        }
        return o;
    }
}
